sysroot: Drop an fsync for origin file when writing deployments
authorColin Walters <walters@verbum.org>
Wed, 14 Sep 2016 01:09:48 +0000 (21:09 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Wed, 14 Sep 2016 10:26:39 +0000 (10:26 +0000)
commit4f736ac33e8ba7a047c9ef1c4d17c7993c9048ee
tree60e810d81c7a63d10cef371e344e271c70127ba5
parentfcffb732806a10a2be77a4642ccf7370836572e6
sysroot: Drop an fsync for origin file when writing deployments

More fsync pruning.  Since we have a public API for writing the origin
file and it did a fsync before, let's preserve that.  But when writing
deployments as part of a full transaction, we rely on the global
`syncfs()`, so add an internal function for origin file writing that
doesn't.

Closes: #509
Approved by: giuseppe
src/libostree/ostree-sysroot-deploy.c